//
//  Interface.swift
//  kxf
//
//  Created by 文 on 2023/5/22.
//  Copyright © 2023 kxf. All rights reserved.
//

import Foundation

let URL_Type       = WHGetInterface_javaWithType()

let URL_Type_One   = URL_Type + "code-plate-agent/"
let URL_Type_Two   = URL_Type + "code-plate-trade/"
let URL_Type_Three   = URL_Type + "code-plate-user/"

//MARK:
//登录  手机号
public let URL_Login_phone             = URL_Type_One + "admin/merchantLogin"

public let URL_Login_code             = URL_Type_One + "admin/merchantMobileLogin"

public let URL_register               = URL_Type_One + "member/userRegister"

public let URL_User_Center            = URL_Type_One + "admin/info"


//type  0  注册  1  验证码登录
public let URL_get_code               = URL_Type_One + "admin/getVerifyCode"
//忘记密码
public let URL_forget_psw        = URL_Type_One + "admin/forgetPassword"
//修改密码  商户
public let URL_update_psw_merc        = URL_Type_Three + "sso/updatePassword"
//修改密码  代理端
public let URL_update_psw_agent        = URL_Type_One + "admin/modifyPassword"

//获取OSS配置
public let URL_OSS_policy             = URL_Type_One + "aliyun/oss/policyKey"
//身份证识别
public let URL_OCR_idCard             = URL_Type_One + "posInvite/idCardReg"
//银行卡识别
public let URL_OCR_bank               = URL_Type_One + "useridcert/bankreg"
//营业执照识别
public let URL_OCR_licenseReg         = URL_Type_One + "posInvite/licenseReg"
//获取经营范围
public let URL_getBusinessScopeList         = URL_Type_One + "admin/getBusinessScopeList"

//所属行业
public let URL_Mcc_type               = URL_Type_One + "agentBankCard/posMccCode"
//所属行业  支付宝  微信
public let URL_Mcc_type_alipay        = URL_Type_One + "agentBankCard/yplMccCode"
//地区码
public let URL_Mcc_Area_Code        = URL_Type_One + "agentBankCard/ysPlaceCode"

//进件资料  临时保存
public let URL_authen_msg_save        = URL_Type_One + "posInvite/idcertTemp"
//获取临时保存的 进件资料
public let URL_authen_msg_query        = URL_Type_One + "useridcert/getIdcertTemp"
//认证状态，确认接口
public let URL_authen_msg_confirm      = URL_Type_One + "useridcert/idcertconfirm"

public let URL_authen_msg_verify      = URL_Type_Three + "posVerify/getIdcertTemp"

public let URL_authen_msg_posverify      = URL_Type_Three + "posVerify/idcertconfirm"
//查询费率模板
public let URL_get_pos_rateTemplate      = URL_Type_One + "rate/getPosTemplateRate"
//设置费率
public let URL_set_pos_rate              = URL_Type_One + "rate/addPosUserRate"
//设置费率  2024年10月06日15:39:32
public let URL_modify_pos_rate              = URL_Type_One + "rate/modifyPosUserRate"
//进件  渠道列表
public let URL_authen_channel_list       = URL_Type_One + "member/channelList"
//授权码
public let URL_authori_code             = URL_Type_One + "useridcert/yplMerchantVerify"
//服务商列表
public let URL_posAgentManage_list           = URL_Type_One + "posManage/posAgentManage"
//商户列表
public let URL_posUserManage_list           = URL_Type_One + "member/posUserManage"

public let URL_appAgentHomeStatQb     = URL_Type_One + "home/appAgentHomeStatQb"

public let URL_AgentStatHistory       = URL_Type_One + "home/AgentStatHistory"
//商户列表
public let URL_posMerchantTradeTotal       = URL_Type_One + "member/posMerchantTradeTotal"
//商户详情
public let URL_posMerchantTradeDetail      = URL_Type_One + "member/posMerchantTradeDetail"
//新增服务商
public let URL_agentRegisterNew            = URL_Type_One + "admin/agentRegisterNew"
//下级服务商列表
public let URL_subAgentStatHistoryList    = URL_Type_One + "home/subAgentStatHistoryList"
//下级服务商详情
public let URL_subAgentStatHistoryDetail  = URL_Type_One + "home/subAgentStatHistoryDetail"
//实名认证
public let URL_authen_user_cert        = URL_Type_One + "useridcert/idcert3"
//查询开户支行
public let URL_query_bank_branch        = URL_Type_One + "agentBankCard/posBankBranchCode"
//查询开户行简称
public let URL_query_bank_branch_simple = URL_Type_One + "agentBankCard/queryCardShortName"
//查询码牌SN绑定状态
public let URL_sn_query_status = URL_Type_Three + "posBind/findPosInfoBySn"
//绑定码牌
public let URL_sn_bind = URL_Type_Three + "posBind/confirmPosBind"
//获取账户钱包详情
public let URL_account_wallet = URL_Type_Two +  "dailiagentWallet/getAgentWallet"
//获取账户钱包  列表数据
public let URL_account_wallet_list = URL_Type_Two +  "agentInfo/getSumUserWallet"

public let URL_getUserWallet_list = URL_Type_Two +  "agentInfo/getUserWallet"

public let URL_withDraw_list = URL_Type_Two +  "dailiagentWallet/gettixianRecord"
//获取提现信息
public let URL_withDraw_config = URL_Type_Two +  "dailiagentWallet/getcantixian"
//提现
public let URL_withDraw = URL_Type_Two +  "dailiagentWallet/postixian"

public let URL_sn_qrcode = URL_Type +  "share/#/shouyin?memberId="
//获取二维码
public let URL_sn_get_qrcode = URL_Type_Three +  "aliyun/oss/compositePoster"
//获取邀请二维码
public let URL_get_invite_qrcode = URL_Type_One +  "operation/compositePoster"

public let URL_address_province = URL_Type_One + "baseRegion/getProvinceList"

public let URL_address_city = URL_Type_One + "baseRegion/getCityList"

public let URL_address_area = URL_Type_One + "baseRegion/getAreaList"
//查询结算卡信息
public let URL_settleBank_Agent = URL_Type_One + "agentBankCard/queryjiesuancard"
//添加结算卡
public let URL_addBank_Agent = URL_Type_One + "agentBankCard/addjiesuancard"
//查询银行卡信息
public let URL_bank_query = URL_Type_Three + "userBankCard/queryUserSettlementCard"
//修改银行卡
public let URL_bank_update = URL_Type_Three + "userBankCard/modifyUserSettlementCard"
//结算管理  数据查询
public let URL_settle_query = URL_Type_Two + "jinhuo/merchantDelayTradeDetail"
//交易记录  数据查询
public let URL_trade_query  = URL_Type_Three + "center/merchantTradeDetail"
//店铺列表
public let URL_market_list  = URL_Type_Three + "sso/userMerchantStoresList"
//切换店铺
public let URL_change_market = URL_Type_Three + "sso/getAnotherStoresToken"
//新增店铺
public let URL_add_market    = URL_Type_One + "member/createNewStoreMerchant"
//待处理进件
public let URL_pos_user_list = URL_Type_One + "member/posUserManage"

public let URL_cancel_account = URL_Type_Three + "sso/cancellationAccount"

public let URL_judge_ver = URL_Type_One + "admin/checken"
//设备类型列表
public let URL_Device_type_list = URL_Type_Three + "posBind/getDeviceTypeList"
//设备列表
public let URL_Device_list = URL_Type_Three + "posBind/getDeviceList"
//绑定设备
public let URL_Device_bind = URL_Type_Three + "posBind/bindingDevice"
//重命名设备
public let URL_Device_modify_name = URL_Type_Three + "posBind/modifyDeviceName"
//关联设备
public let URL_Device_relation = URL_Type_Three + "posBind/relationDevice"
//取消关联设备
public let URL_Device_unrelation = URL_Type_Three + "posBind/unRelationDevice"

public let URL_H5_zhanye_guifan = "https://app.happayment.com/share/#/agreement"

public let URL_H5_private       = "https://app.happayment.com/share/#/privacyPolicy"

public let URL_settleType_update = URL_Type_Two + "jinhuo/updateMemberSettleCycle"
public let URL_Get_ServicePhone       =  URL_Type_One + "admin/getServicePhone"
public let URL_Get_SampleImage       =  URL_Type_One + "admin/getSampleImage"
public let URL_Get_Appversion       =  URL_Type_One + "appVersion/getAppVersion"
